package com.saishi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    int uid;
    String uusername;
    String upass;
    String uname;
    String unumber;
    String uemile;
    String ugender;
    int uage;
    String uprofession;
    String uaddress;
    String ustate;
    String uheadx;



    public User(int uid, String uname, String ugender) {
        this.uid = uid;
        this.uname = uname;
        this.ugender = ugender;
    }

    public User(int uid, String uname,String ugender, String uprofession) {
        this.uid = uid;
        this.uname = uname;
        this.ugender = ugender;


        this.uprofession = uprofession;
    }



    @Override
    public String toString() {
        return "\nuser{" +
                "uid=" + uid +
                ", uusername='" + uusername + '\'' +
                ", upass='" + upass + '\'' +
                ", uname='" + uname + '\'' +
                ", unumber='" + unumber + '\'' +
                ", uemile='" + uemile + '\'' +
                ", ugender='" + ugender + '\'' +
                ", uage=" + uage +
                ", uprofession='" + uprofession + '\'' +
                ", uaddress='" + uaddress + '\'' +
                ", ustate='" + ustate + '\'' +
                ", uheadx='" + uheadx + '\'' +
                '}';
    }
}
